<?php

include_once(create_path("plugin/live/tpl_live.php"));
include_once(create_path("plugin/live/lg_live_".LANG.".php"));
include_once(create_path("plugin/live/sql_live.php"));

include_once(create_path("plugin/live/conf.php"));

# we check if the plugin is installed
if($plugin_install!=1) 
{
 include(create_path("plugin/live/install.php"));
}
else
{
 if(!isset($_GET['v1']))
 {
  include(create_path("plugin/live/live_list.php"));
 }
 else
 {
  switch($_GET['v1']) {
   case "form_live" :  include(create_path("plugin/live/form_live.php")); break;
   case "live_list" :  include(create_path("plugin/live/live_list.php")); break;
   case "view" : include(create_path("plugin/live/view_live.php")); break;
   default : include(create_path("plugin/live/live_list.php"));
  }
 }
}
?>